﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="NPMonitorDataSet" targetNamespace="http://tempuri.org/NPMonitorDataSet.xsd" xmlns:mstns="http://tempuri.org/NPMonitorDataSet.xsd" xmlns="http://tempuri.org/NPMonitorDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="NPMonitorConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="NPMonitorConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.NPMonitorConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="vHourlyReportTableAdapter" GeneratorDataComponentClassName="vHourlyReportTableAdapter" Name="vHourlyReport" UserDataComponentName="vHourlyReportTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="NPMonitorConnectionString (Web.config)" DbObjectName="NPMonitor.dbo.vHourlyReport" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT BeginTime, AverageTime, ScenarioNO FROM vHourlyReport</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BeginTime" DataSetColumn="BeginTime" />
              <Mapping SourceColumn="AverageTime" DataSetColumn="AverageTime" />
              <Mapping SourceColumn="ScenarioNO" DataSetColumn="ScenarioNO" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="NPMonitorDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="NPMonitorDataSet" msprop:Generator_UserDSName="NPMonitorDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="vHourlyReport" msprop:Generator_TableClassName="vHourlyReportDataTable" msprop:Generator_TableVarName="tablevHourlyReport" msprop:Generator_TablePropName="vHourlyReport" msprop:Generator_RowDeletingName="vHourlyReportRowDeleting" msprop:Generator_RowChangingName="vHourlyReportRowChanging" msprop:Generator_RowEvHandlerName="vHourlyReportRowChangeEventHandler" msprop:Generator_RowDeletedName="vHourlyReportRowDeleted" msprop:Generator_UserTableName="vHourlyReport" msprop:Generator_RowChangedName="vHourlyReportRowChanged" msprop:Generator_RowEvArgName="vHourlyReportRowChangeEvent" msprop:Generator_RowClassName="vHourlyReportRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="BeginTime" msprop:Generator_ColumnVarNameInTable="columnBeginTime" msprop:Generator_ColumnPropNameInRow="BeginTime" msprop:Generator_ColumnPropNameInTable="BeginTimeColumn" msprop:Generator_UserColumnName="BeginTime" type="xs:string" minOccurs="0" />
              <xs:element name="AverageTime" msprop:Generator_ColumnVarNameInTable="columnAverageTime" msprop:Generator_ColumnPropNameInRow="AverageTime" msprop:Generator_ColumnPropNameInTable="AverageTimeColumn" msprop:Generator_UserColumnName="AverageTime" type="xs:decimal" minOccurs="0" />
              <xs:element name="ScenarioNO" msprop:Generator_ColumnVarNameInTable="columnScenarioNO" msprop:Generator_ColumnPropNameInRow="ScenarioNO" msprop:Generator_ColumnPropNameInTable="ScenarioNOColumn" msprop:Generator_UserColumnName="ScenarioNO" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Legend" msprop:Generator_ColumnVarNameInTable="columnLegend" msprop:Generator_ColumnPropNameInRow="Legend" msprop:Generator_ColumnPropNameInTable="LegendColumn" msprop:Generator_UserColumnName="Legend" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>